package com.cyzy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyzy.mapper.ErrorProblemMapper;
import com.cyzy.pojo.ErrorProblem;
import com.cyzy.service.ErrorProblemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ll
 * @version 1.0
 * @description: TODO
 * @date 2025/5/22 下午4:33
 */
@Service
public class ErrorProblemServiceImpl extends ServiceImpl<ErrorProblemMapper, ErrorProblem> implements ErrorProblemService {
    @Autowired
    private ErrorProblemMapper errorProblemMapper;

    //查詢异常列表
    @Override
    public List<ErrorProblem> getAllError(ErrorProblem errorProblem) {
        return errorProblemMapper.getAllError(errorProblem);
    }
    //新增异常

}
